home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '89 / Other stuff / MacSTILE / Sample Projects / Concurrent Primitives < prev    next >
Encoding:
Text File  |  1989-01-06  |  2.6 KB  |  300 lines  |  [TEXT/STIL]

  1. 100
  2. 30
  3. 60
  4. 200
  5. 400
  6. 40
  7. 2
  8. 4
  9. 9
  10. 4
  11. 0
  12. 12
  13. Control Port
  14. 2
  15. 2
  16. 0
  17. 0
  18. 17
  19. 3
  20. 2
  21. 0
  22. 1
  23. 9
  24. Data Port
  25. 2
  26. 2
  27. 0
  28. 0
  29. 17
  30. 0
  31. 2
  32. 0
  33. 2
  34. 12
  35. Control Link
  36. 1
  37. 2
  38. 0
  39. 2
  40. 0
  41. 0
  42. 2
  43. 0
  44.  
  45. 0
  46.  
  47. 0
  48. 1
  49. 0
  50. 1
  51. 0
  52. 2
  53. 0
  54.  
  55. 0
  56.  
  57. 1
  58. 0
  59. 0
  60. 17
  61. 2
  62. 0
  63. 1
  64. 1
  65. 3
  66. 9
  67. Data Link
  68. 1
  69. 2
  70. 0
  71. 2
  72. 0
  73. 1
  74. 2
  75. 0
  76.  
  77. 0
  78.  
  79. 0
  80. 1
  81. 0
  82. 1
  83. 1
  84. 2
  85. 0
  86.  
  87. 0
  88.  
  89. 1
  90. 0
  91. 0
  92. 17
  93. 0
  94. 0
  95. 1
  96. 1
  97. 2573
  98.        
  99. 20
  100. 0
  101. 5
  102. Boxes
  103. 0
  104. 1
  105. 5
  106. Links
  107. 2
  108. 2
  109. 3
  110. 2
  111. 5
  112. Ports
  113. 2
  114. 0
  115. 1
  116. 3
  117. 6
  118. Master
  119. 4
  120. 0
  121. 1
  122. 2
  123. 3
  124. 4
  125. 5
  126. Boxes
  127. 0
  128. 5
  129. 5
  130. Links
  131. 0
  132. 6
  133. 5
  134. Ports
  135. 0
  136. 7
  137. 6
  138. Master
  139. 0
  140. 8
  141. 5
  142. Boxes
  143. 0
  144. 9
  145. 5
  146. Links
  147. 0
  148. 10
  149. 5
  150. Ports
  151. 0
  152. 11
  153. 6
  154. Master
  155. 0
  156. 12
  157. 5
  158. Boxes
  159. 0
  160. 13
  161. 5
  162. Links
  163. 0
  164. 14
  165. 5
  166. Ports
  167. 0
  168. 15
  169. 6
  170. Master
  171. 0
  172. 16
  173. 5
  174. Boxes
  175. 0
  176. 17
  177. 5
  178. Links
  179. 0
  180. 18
  181. 5
  182. Ports
  183. 0
  184. 19
  185. 6
  186. Master
  187. 0
  188. 9
  189. 0
  190. 1
  191. 1
  192. 1
  193. 2
  194. 1
  195. 4
  196. 0
  197. 1
  198. 2
  199. 3
  200. 0
  201. 1
  202. 2
  203. 3
  204. 3
  205. 1
  206. 4
  207. 4
  208. 5
  209. 6
  210. 7
  211. 4
  212. 5
  213. 6
  214. 7
  215. 4
  216. 1
  217. 4
  218. 8
  219. 9
  220. 10
  221. 11
  222. 8
  223. 9
  224. 10
  225. 11
  226. 5
  227. 0
  228. 6
  229. 0
  230. 4
  231. 12
  232. 13
  233. 14
  234. 15
  235. 12
  236. 13
  237. 14
  238. 15
  239. 7
  240. 0
  241. 8
  242. 0
  243. 4
  244. 16
  245. 17
  246. 18
  247. 19
  248. 16
  249. 17
  250. 18
  251. 19
  252. 667
  253. This port is a connection point for a control link.
  254.  
  255. An output control port is ordinarily quiescent.  When “poked” by a box it is on, however, it emits an infinitesimally short control “pulse” that can be transmitted instantaneously to other (input) control ports via a control link.
  256.  
  257. An input control port “listens” for control pulses and notifies the box it is on that such a pulse has been received.  It acts exactly like a flip-flop whose value is set to “one” by a received control pulse, and whose value is reset to “zero” by the box it is on.  The action of the box in response to a pulse on a particular input control port depends on its function, of course.
  258.  
  259. 61
  260. This is a primitive part in the “Concurrent” interpretation.
  261.  
  262. 633
  263. This port is a connection point for a data link.
  264.  
  265. An output data port is ordinarily quiescent.  When “written to” by a box it is on, however, it emits for an infinitesimally short time a data value that can be transmitted instantaneously to other (input) data ports via a data link.
  266.  
  267. An input data port “listens” for data values and remembers the data value when it receives one.  It acts exactly like a register whose value is set whenever a data value is received.  (The new value overwrites any previous value that may have been in this register.)  The box it is on may “read” the data value from any input data port at any time.
  268.  
  269. 61
  270. This is a primitive part in the “Concurrent” interpretation.
  271.  
  272. 166
  273. This link transmits a control “pulse” instantaneously from any output control port connected to its left end, to every input control port connected to its right end.
  274.  
  275. 61
  276. This is a primitive part in the “Concurrent” interpretation.
  277.  
  278. 155
  279. This link transmits a data value instantaneously from any output data port connected to its left end, to every input data port connected to its right end.
  280.  
  281. 61
  282. This is a primitive part in the “Concurrent” interpretation.
  283.  
  284. 0
  285. 672
  286. 1344
  287. 1344
  288. 1
  289. 1409
  290. 2047
  291. 2047
  292. 2
  293. 2112
  294. 2283
  295. 2283
  296. 3
  297. 2348
  298. 2508
  299. 2508
  300.